InitResultHandler

interface InitResultHandler

Handler to receive SendbirdLive.init function call processing results. All SDK requests are available after onInitSucceeded is called.

Since

1.0.0

Functions

Link copied to clipboard
abstract fun onInitFailed(e: SendbirdException)

Invoked when an unexpected problem occurs during the initialization process.

Link copied to clipboard
abstract fun onInitSucceed()

It will be invoked when the SendbirdLive.init() is finished successfully. For example, connect to SendbirdLive operation must call after this. If not, you will face an error.

Link copied to clipboard
abstract fun onMigrationStarted()

It can be invoked if a database migration occurs. If this callback is invoked, the application requires processing, such as a dialog in progress, because the processing operation can take a long time.